package com.lizemin.builderfactorycase.factory.normal;

import com.lizemin.builderfactorycase.factory.entity.FileParser;
import org.junit.jupiter.api.Test;

/**
 * @author lzm
 * @date 2025/10/19 16:08
 * @description
 */
public class Main {

    @Test
    public void test_get_file_parser() {
        FileParser fileParser = ParserFactory.getFileParser("pdf");
        fileParser.parse(null);

        fileParser = ParserFactory.getFileParser("doc");
        fileParser.parse(null);
    }
}
